package org.devocean.groupbuying.dao;

import java.util.List;

import org.devocean.groupbuying.domain.Discount;

public interface DiscountDAO {

	List<Discount> findAllDiscounts();

	long countDiscount();

	Discount findDiscountById(Integer discountID);

	void deleteDiscount(Integer discountID);

	Discount saveDiscount(Discount discount);

	Discount updateDiscount(Discount discount);

	long countDiscountValidKeys(Integer discountID);

}
